#!/bin/sh

PATH=/usr/bin:/usr/sbin:/bin:/sbin

/bin/hostname TSH-DEMO

mount -a
mkdir /dev/pts
mount -t devpts devpts /dev/pts
[ -d /sys/kernel/debug ] && mount -t debugfs debugfs /sys/kernel/debug
echo /sbin/mdev > /proc/sys/kernel/hotplug
mdev -s

# ifup lo
# modprobe g_ether
# ifup usb0

/sbin/ifconfig lo 127.0.0.1
# /sbin/ifconfig eth0 192.168.1.20 netmask 255.255.255.0 broadcast 192.168.1.255 up
# /sbin/route add default gw 192.168.1.1

mkdir -p /dev/shm
mkdir -p /var/log
mkdir -p /var/lock
mkdir -p /var/tmp
mkdir -p /var/spool
mkdir -p /var/run
mkdir -p /var/lib

# /etc/init.d/dropbear start


